package com.hqd.jjvm.rtda.heap.classloader;

import com.hqd.jjvm.classpath.ClassParse;
import com.hqd.jjvm.classpath.JarClassResource;

/**
 * boot类加载器，加载核心类文件
 *
 * @author hqd
 */
public class BootJClassLoader extends JClassLoader {
    protected static final String BOOT_PATH = JAVA_HOME_PATH + "/lib";


    public BootJClassLoader(JClassLoader parentJClassLoader, ClassParse classParse) {
        super(null, new ClassParse(new JarClassResource(BOOT_PATH)));
    }

    public BootJClassLoader() {
        this(null, new ClassParse(new JarClassResource(BOOT_PATH)));
    }

}
